<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <!-- <script src="./Vue.js"></script> -->
</head>
<body>
    <div id="app">
        <p>{{show}}</p>
        <div v-show="show">我是谁</div>

        <div v-if="show">我出现了</div>
        <div v-else>我又一次出现了</div>

        <button @click="show=!show">显示？隐藏！</button>
    <!-- v-for指令(item in xxx):key -->
        
    <div v-for="item in student" :key="item.id">
        <ul>
            <li>z{{item.name}}</li>
        </ul>
    </div>
    </div>

    <script src="./text.js" type="module"></script>
</body>
</html>